package com.csu.letaobackend.service;

import com.csu.letaobackend.bean.Seller;
import com.csu.letaobackend.commom.CommonResponse;

public interface SellerService {
      CommonResponse<Seller> getSeller(String username);
      CommonResponse<Seller> getSeller(String username , String password);
      CommonResponse<Seller> getSellerByPhone(String memPhone);

      CommonResponse<Seller> updateSellerPassword(String username , String newPassword);

      CommonResponse<Seller> updateSeller(Seller seller);

      CommonResponse<Seller> registerSeller(Seller seller);

      CommonResponse<Seller> deleteSeller(String username);
}
